package com.dt76.smallloanbackendservice.service.xiaohao.impl;

import com.dt76.smallloanbackendservice.mapper.xiaohao.BankAccountMapper;
import com.dt76.smallloanbackendservice.pojo.xiaohao.YBankAccount;
import com.dt76.smallloanbackendservice.service.xiaohao.YBankAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BankAccountServiceImpl implements YBankAccountService {

    @Autowired
    private BankAccountMapper bankAccountMapper;

    @Override
    public List<YBankAccount> qryAllAccount() {
        return bankAccountMapper.qryAllAccount();
    }

    @Override
    public YBankAccount qryById(int id) {
        return bankAccountMapper.qryById(id);
    }
}
